<?php

use app\modules\Contract\models\Contract;
use yii\helpers\Url;

$this->title = '控制台';

$num = Contract::find()->where(['!=','status',10])->count();
?>

<div class="dashboard-default-index">
    

    <div class="row">
        <div class="col-lg-3 col-xs-6">
          <!-- small box -->
          <div class="small-box bg-aqua">
            <div class="inner">
              <h3><?=$num?></h3>

              <p>合同</p>
            </div>
            <div class="icon">
              <i class="ion ion-bag"></i>
            </div>
            <a href="<?=Url::toRoute(['/contract/contract/index'])?>" class="small-box-footer">详情 <i class="fa fa-arrow-circle-right"></i></a>
          </div>
        </div>

      </div>
      
</div>
